home *** CD-ROM | disk | FTP | other *** search
/ Draw 3 / Draw 3.iso / AOL90 / COMP02.000 / %MAINDIR% / CalendarResource.dll / HTML / 104 next >
Encoding:
Text File  |  2004-11-29  |  3.6 KB  |  124 lines

  1. <HTML>
  2.     <HEAD>
  3.         <META NAME="GENERATOR" Content="Microsoft Developer Studio">
  4.         <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
  5.         <TITLE>Welcome to America Online Calendar</TITLE>
  6.     </HEAD>
  7.     
  8.     <STYLE>
  9.         @import url("res:IDCSS_ACSplashPage");
  10.     </STYLE>
  11.  
  12.     <SCRIPT LANGUAGE="JavaScript">
  13.  
  14.         ///////////////////////////////////////////////////////////////
  15.         // global variables...
  16.         ///////////////////////////////////////////////////////////////
  17.         var Dict = new ActiveXObject("AolCalSvr.ACDictionary.5");
  18.  
  19.  
  20.         //-------------------------------------------------------------
  21.         // function DoOnLoad...
  22.         ///////////////////////////////////////////////////////////////
  23.         function DoOnLoad()
  24.         {
  25.             Dict.RemoveAll();
  26.             window.external.SplashLoaded();
  27.  
  28.             var splashMsg = window.external.GetResourceString(6243);
  29.             if( splashMsg.length > 0 )
  30.             {
  31.                 document.all.paraText.innerHTML = "<SPAN id=\"elemMessage\">"
  32.                     + splashMsg + "</SPAN>";
  33.  
  34.             }
  35.         }
  36.  
  37.  
  38.         //-------------------------------------------------------------
  39.         // function ShowSignupWizard...
  40.         ///////////////////////////////////////////////////////////////
  41.         function ShowSignupWizard(nextPanel)
  42.         {
  43.             Dict.Item("kWindow") = window;
  44.             Dict.Item("kNextPanel") = nextPanel;
  45.             var features = "dialogWidth=520px;dialogHeight=340px;help=no;resizable=no;status=no";
  46.             window.showModalDialog("res:IDH_ACACSetUp", Dict, features);
  47.             Dict.Item("kSetupDialogWindow") = null;
  48.         }
  49.  
  50.  
  51.         //-------------------------------------------------------------
  52.         // function DoAfterGoOnline...
  53.         ///////////////////////////////////////////////////////////////
  54.         function DoAfterGoOnline( bServerAccountExists )
  55.         {
  56.             // alert("Testing: calling SplashPage.htm : DoAfterGoOnline()");
  57.             if (Dict.Exists("kSetupDialogWindow") )
  58.             {
  59.                 var SetupDialogWindow = Dict.Item("kSetupDialogWindow") ;
  60.                 if(null != SetupDialogWindow)
  61.                 {
  62.                     SetupDialogWindow.DoAfterGoOnline( bServerAccountExists );
  63.                 }
  64.             }            
  65.         }
  66.  
  67.         //-------------------------------------------------------------
  68.         // function ShowServAccount...
  69.         ///////////////////////////////////////////////////////////////
  70.         function ShowServAccount()
  71.         {
  72.             if (Dict.Exists("kSetupDialogWindow") )
  73.             {
  74.                 var SetupDialogWindow = Dict.Item("kSetupDialogWindow") ;
  75.                 if(null != SetupDialogWindow)
  76.                 {
  77.                     SetupDialogWindow.ShowServAccount();
  78.                 }
  79.             }    
  80.         }
  81.  
  82.         //-------------------------------------------------------------
  83.         // function SetupComplete...
  84.         ///////////////////////////////////////////////////////////////
  85.         function SetupComplete()
  86.         {
  87.             if (Dict.Exists("kSetupDialogWindow") )
  88.             {
  89.                 var SetupDialogWindow = Dict.Item("kSetupDialogWindow") ;
  90.                 if(null != SetupDialogWindow)
  91.                 {
  92.                     SetupDialogWindow.SetupComplete();
  93.                 }
  94.             }            
  95.         }
  96.  
  97.         //-------------------------------------------------------------
  98.         // function SetupFailed...
  99.         ///////////////////////////////////////////////////////////////
  100.         function SetupFailed()
  101.         {
  102.             if (Dict.Exists("kSetupDialogWindow") )
  103.             {
  104.                 var SetupDialogWindow = Dict.Item("kSetupDialogWindow") ;
  105.                 if(null != SetupDialogWindow)
  106.                 {
  107.                     SetupDialogWindow.SetupFailed();
  108.                 }
  109.             }            
  110.         }
  111.  
  112.     </SCRIPT>
  113.  
  114.     <BODY class="cssBODY" onload="DoOnLoad()" scroll="no" >
  115.         <!-- Logo -->
  116.         <img class="cssSplashLogo" id="imgSplashLogo" align="middle" src="res:IDG_ACLOGOCALENDAR"></img> 
  117.         <img class="cssSplashLogoBranding" id="imgSplashLogoBranding" align="middle" src="res:IDG_ACBRANDING"></img>
  118.         <!-- Error and message text -->
  119.         <DIV name="paraText" id="paraText">
  120.             <SPAN id="elemMessage"></SPAN>
  121.         </DIV>
  122.     </BODY>
  123. </HTML>
  124.